/*
Copyright (C) 2014 Infinite Automation Systems Inc. All rights reserved.
@author Matthew Lohbihler
*/
package com.serotonin.m2m2.virtual.rt;
import com.serotonin.m2m2.rt.dataImage.types.BinaryValue;
import com.serotonin.m2m2.rt.dataImage.types.DataValue;
public class RandomBooleanChangeRT extends ChangeTypeRT {
@Override
public DataValue change(DataValue currentValue) {
return new BinaryValue(RANDOM.nextBoolean());
}
}